Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use intent to pass custom flags #608

Merged
merged 2 commits into from
Dec 12, 2018

Conversation

rlatapy-luna
Copy link
Contributor

Allow customisation of chrome custom tab by passing a Bundle to CustomTabsIntent

Example (Kotlin):

builder.setExtraCustomBundle(Bundle().apply {
    putInt(EXTRA_TOOLBAR_COLOR, ContextCompat.getColor(context, R.color.primary))
})

Sorry for the approximative naming & javadoc

Thanks

@minbi minbi added the cognito Issues with the AWS Android SDK for Cognito label Dec 11, 2018
@minbi minbi merged commit b3d330a into aws-amplify:master Dec 12, 2018
@rlatapy-luna rlatapy-luna deleted the customtab_builder branch December 12, 2018 22:00
awsmobilesdk pushed a commit to awsmobilesdk/aws-sdk-android that referenced this pull request Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cognito Issues with the AWS Android SDK for Cognito
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants